package com.campus.common.message;

import com.campus.common.vo.Teacher;

import java.io.Serializable;
import java.util.List;

public class TeacherAccountManagementResponse extends BaseMessage implements Serializable {
    private boolean success;
    private String message;
    private List<Teacher> teachers;
    private Teacher teacher;

    public TeacherAccountManagementResponse() {}
    public TeacherAccountManagementResponse(boolean success, String message, List<Teacher> teachers,Teacher teacher) {
        this.success = success;
        this.message = message;
        this.teachers = teachers;
        this.teacher=teacher;
    }

    public boolean isSuccess() { return success; }
    public String getMessage() { return message; }
    public List<Teacher> getTeachers() { return teachers; }
    public Teacher getTeacher() { return teacher; }
}
